<template>
	<view class="flex justify-end padding">
		<view v-if="info.showAll" style="position: fixed;z-index: 10;">
			<text class="lg text-gray cuIcon-attentionfavorfill" @click="showAllClick">隐藏</text>
		</view>
		<view v-else style="position: fixed;z-index: 10;">
			<text class="lg text-gray cuIcon-attentionfavor" @click="showAllClick">全显</text>
		</view>
	</view>
</template>

<script>
	export default {
		inject: ['info'],
		methods: {
			showAllClick(){
				this.info.showAll = !this.info.showAll
			}
		}
	}
</script>

<style>

</style>
